package org.benjamin.lending.repository;

import java.util.List;

import org.benjamin.lending.domain.entity.TransactRequest;
import org.benjamin.lending.domain.entity.TransactRequest.Type;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface TransactRequestRepository extends JpaRepository<TransactRequest, String>,JpaSpecificationExecutor<TransactRequest> {
	
	List<TransactRequest> findByType(Type type);

}
